<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Credit
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: Menus.php 06.01.12 16:19 TeaJay $
 * @author     Taalay
 */

/**
 * @category   Application_Extensions
 * @package    Credit
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 */

class Credit_Plugin_Menus
{
  public function onMenuInitialize_CreditMainCredit($row)
  {
    return true;
  }

  public function onMenuInitialize_CreditMainManage($row)
  {
    if ( !Engine_Api::_()->user()->getViewer()->getIdentity() ) {
      return false;
    }

    return true;
  }
}